import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Universities")
public class University {
	@Id
	@Column(name= "univ_id")	
	private Integer university_id;
	
	@Column(name= "univ_name")
	private String university_name;
	
	@Column(name= "city")
	private String city;

	//getters
	
	public Integer getId(){return this.university_id;}
	
	public String getName(){return this.university_name;}
	
	public String getCity(){return this.city;}
	
	//setters
	
	public void setId(Integer id) {this.university_id = id;}
	
	public void setName(String name) {this.university_name = name;}
	
	public void setCity(String city) {this.city = city;}
}
